Fitting mode while

The fitting mode while is very similar to the C-shell while. As for the if construction, the difference remains in a broader range of operators available to the conditional statement and the fact that the variable expansion operator `$' is not required.

As for the foreach construction, a end keyword is required to indicate the end of the loop. Note that fmode-statements can also contain C-calculator mode commands (including cmode while loops!). Recall that the conditional statement is a C-calculator mode expression.

while(conditions)
fmode-statements
end

foreach, if, cmode